#pragma once

// Copyright (c) 2010 Manuel Peinado Gallego <manuel.peinado@gmail.com>
// Distributed under the MIT license

// MaterialParams.h : interface of the MaterialParams class
//

#include "Color.h"

// ----------------------------------------------------------------------------
// The parameters that define a material in OpenGL 

struct MaterialParams
{
    Color ambientColor;
    Color diffuseColor;
    Color specularColor;
    Color emissionColor;

    float shininess; // 0-1. (maps to OGL's 0-128)

    bool transparent; // Unused

    TextureLayerList textureLayers;

    PrimaryColorMode primaryColorMode;

    MaterialParams& makeDefault();
};
